mm: Extract allocation loop from alloc_heap_pages()
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 16 Aug 2017 18:31:00 +0000 (20:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 21 Aug 2017 13:45:26 +0000 (15:45 +0200)
commit0913366a9117241ea960d240f7fbcc659227e39b
tree05bf780cd6b455154c3d934a1185a8b4f4b6691a
parent1a37f33ea613782ac424e4dec84392728d0ab925
mm: Extract allocation loop from alloc_heap_pages()

This will make code a bit more readable, especially with changes that
will be introduced in subsequent patches.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/page_alloc.c